#!/usr/bin/env python3

import sys, os

def f():
    ...

def main():
    i = 0
    while sys.argv:
        print('{2}: sys.argv[{0}] == \'{1}\''.format(i * '.', sys.argv[0], i))
        if sys.argv[0] == 'break':
            break
        sys.argv = sys.argv[1:]
        i += 1
    else:
        print('sys.argv is empty')
        ... #same as pass

if __name__ == '__main__':
    main()

# >>> list(zip(l1,l2,l3))
# [('a', 0, '0'), ('b', 1, '1'), ('c', 2, '2')]
# >>> list(zip(*zip(l1,l2,l3)))
# [('a', 'b', 'c'), (0, 1, 2), ('0', '1', '2')]
